<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
    <title>PHPXRef 0.7.1 : Tomato Project : /common/config.php source</title>
    <link rel="stylesheet" href="../sample.css" type="text/css">
    <link rel="stylesheet" href="../sample-print.css" type="text/css" media="print">
    <style id="hilight" type="text/css"></style>
    <meta http-equiv="content-type" content="text/html;charset=UTF-8">
</head>
<body bgcolor="#ffffff" text="#000000" link="#801800" vlink="#300540" alink="#ffffff">
<table class="pagetitle" width="100%">
	<tr>
        <td valign="top" class="pagetitle">
            [ <a href="../index.html">Index</a> ] 
			&nbsp;&nbsp;&nbsp; [<a href="../_classes/index.html">Classes</a>] 
			&nbsp;&nbsp;&nbsp; [<a href="../_functions/index.html">Functions</a>] 
			&nbsp;&nbsp;&nbsp; [<a href="../_variables/index.html">Variables</a>] 
			&nbsp;&nbsp;&nbsp; [<a href="../_constants/index.html">Constants</a>] 
			&nbsp;&nbsp;&nbsp; [<a href="../_tables/index.html">Tables</a>]
        </td>
        <td align="right" class="pagetitle">
		    <h2 style="margin-bottom: 0px">PHP Cross Reference of Tomato Project</h2>
	    </td>
    </tr>
</table>


<!-- Generated by PHPXref 0.7.1 at Thu Sep 10 15:54:52 2020 -->
<!-- PHPXref (c) 2000-2010 Gareth Watts - gareth@omnipotent.net -->
<!-- http://phpxref.sourceforge.net/ -->

<script src="../phpxref.js" type="text/javascript"></script>
<script language="JavaScript" type="text/javascript">
<!--
ext='.html';
relbase='../';
subdir='common';
filename='config.php.source.html';
cookiekey='phpxref';
handleNavFrame(relbase, subdir, filename);

// -->
</script>
<script language="JavaScript" type="text/javascript">
if (gwGetCookie('xrefnav')=='off')
  document.write('<p class="navlinks">[ <a href="javascript:navOn()">Show Explorer<\/a> ]<\/p>');
else
  document.write('<p class="navlinks">[ <a href="javascript:navOff()">Hide Explorer<\/a> ]<\/p>');
</script>
<noscript>
<p class="navlinks">
[ <a href="../nav.html" target="_top">Show Explorer</a> ]
[ <a href="index.html" target="_top">Hide Navbar</a> ]
</p>
</noscript>
<script language="JavaScript" type="text/javascript">
<!--

document.writeln('<table align="right" class="searchbox-link"><tr><td><a class="searchbox-link" href="javascript:void(0)" onMouseOver="showSearchBox()">Search</a><br>');
document.writeln('<table border="0" cellspacing="0" cellpadding="0" class="searchbox" id="searchbox">');
document.writeln('<tr><td class="searchbox-title">');
document.writeln('<a class="searchbox-title" href="javascript:showSearchPopup()">Search History +</a>');
document.writeln('<\/td><\/tr>');

document.writeln('<tr><td class="searchbox-body" id="searchbox-body">');
document.writeln('<form name="search" style="margin:0px; padding:0px" onSubmit=\'return jump()\'>');
document.writeln('<a class="searchbox-body" href="../_classes/index.html">Class<\/a>: ');
document.writeln('<input type="text" size=10 value="" name="classname"><br>');
document.writeln('<a id="funcsearchlink" class="searchbox-body" href="../_functions/index.html">Function<\/a>: ');
document.writeln('<input type="text" size=10 value="" name="funcname"><br>');
document.writeln('<a class="searchbox-body" href="../_variables/index.html">Variable<\/a>: ');
document.writeln('<input type="text" size=10 value="" name="varname"><br>');
document.writeln('<a class="searchbox-body" href="../_constants/index.html">Constant<\/a>: ');
document.writeln('<input type="text" size=10 value="" name="constname"><br>');
document.writeln('<a class="searchbox-body" href="../_tables/index.html">Table<\/a>: ');
document.writeln('<input type="text" size=10 value="" name="tablename"><br>');
document.writeln('<input type="submit" class="searchbox-button" value="Search">');
document.writeln('<\/form>');
document.writeln('<\/td><\/tr><\/table>');
document.writeln('<\/td><\/tr><\/table>');
// -->
</script>
<div id="search-popup" class="searchpopup"><p id="searchpopup-title" class="searchpopup-title">title</p><div id="searchpopup-body" class="searchpopup-body">Body</div><p class="searchpopup-close"><a href="javascript:gwCloseActive()">[close]</a></p></div>
<h2 class="listing-heading"><a href="./index.html">/common/</a> -> <a href="config.php.html">config.php</a> (source)</h2>
<div class="listing">
<p class="viewlinks">[<a href="config.php.html">Summary view</a>]
[<a href="javascript:window.print();">Print</a>]
[<a href="config.php.source.txt" target="_new">Text view</a>]
</p>
<pre>
<a name="l1"><span class="linenum">   1</span></a>  &lt;?php
<a name="l2"><span class="linenum">   2</span></a>  return [
<a name="l3"><span class="linenum">   3</span></a>      'DEBUG' =&gt; [
<a name="l4"><span class="linenum">   4</span></a>          'level' =&gt; 3, // 输出全部debug信息
<a name="l5"><span class="linenum">   5</span></a>          'type' =&gt; 'auto', // debug信息格式
<a name="l6"><span class="linenum">   6</span></a>      ],
<a name="l7"><span class="linenum">   7</span></a>      'ROUTER' =&gt; [
<a name="l8"><span class="linenum">   8</span></a>          'mod' =&gt; 0, // 0:queryString，1：pathInfo，2：路由
<a name="l9"><span class="linenum">   9</span></a>          'module' =&gt; false, // 不启用模块模式
<a name="l10"><span class="linenum">  10</span></a>  <span class="comment">        // 'restfull' =&gt; [], // restfull模式</span>
<a name="l11"><span class="linenum">  11</span></a>      ],
<a name="l12"><span class="linenum">  12</span></a>      '<a class="constant" onClick="logConstant('VER')" href="../_constants/VER.html" onMouseOver="constPopup(event,'VER')">VER</a>' =&gt; ['1.0', '1.0'], // [0]:默认版本号:没有请求版本号或找不到请求版本号对应目录的情况下使用此版本号,[1]:强制指定版本号：无视请求版本号，一律使用此版本号
<a name="l13"><span class="linenum">  13</span></a>      'SESSION' =&gt; [
<a name="l14"><span class="linenum">  14</span></a>          'name' =&gt; 'SID', // session 名
<a name="l15"><span class="linenum">  15</span></a>          'auto' =&gt; true, // 自动开启 session
<a name="l16"><span class="linenum">  16</span></a>          'redis' =&gt; false,
<a name="l17"><span class="linenum">  17</span></a>          'host' =&gt; '',
<a name="l18"><span class="linenum">  18</span></a>          'port' =&gt; '',
<a name="l19"><span class="linenum">  19</span></a>          'pass' =&gt; '',
<a name="l20"><span class="linenum">  20</span></a>      ],
<a name="l21"><span class="linenum">  21</span></a>      'VIEW' =&gt; [
<a name="l22"><span class="linenum">  22</span></a>          'php_tag' =&gt; 'php',
<a name="l23"><span class="linenum">  23</span></a>          'import_tag' =&gt; 'import',
<a name="l24"><span class="linenum">  24</span></a>          'template_tag' =&gt; 'template',
<a name="l25"><span class="linenum">  25</span></a>          'ext' =&gt; '.html',
<a name="l26"><span class="linenum">  26</span></a>          'theme' =&gt; 'default',
<a name="l27"><span class="linenum">  27</span></a>          'prefix' =&gt; '&lt;{',
<a name="l28"><span class="linenum">  28</span></a>          'suffix' =&gt; '}&gt;',
<a name="l29"><span class="linenum">  29</span></a>          'compress' =&gt; false,
<a name="l30"><span class="linenum">  30</span></a>      ],
<a name="l31"><span class="linenum">  31</span></a>      'DB' =&gt; [
<a name="l32"><span class="linenum">  32</span></a>          'dsn' =&gt; 'mysql:host=127.0.0.1;dbname=zphp_test;port=3306',
<a name="l33"><span class="linenum">  33</span></a>          'db' =&gt; 'zphp_test',
<a name="l34"><span class="linenum">  34</span></a>          'user' =&gt; 'zphp_test',
<a name="l35"><span class="linenum">  35</span></a>          'pass' =&gt; 'zphp_test',
<a name="l36"><span class="linenum">  36</span></a>          'charset' =&gt; 'utf8',
<a name="l37"><span class="linenum">  37</span></a>          'prefix' =&gt; 'z_',
<a name="l38"><span class="linenum">  38</span></a>      ],
<a name="l39"><span class="linenum">  39</span></a>  ];
</pre>
</div>
<script language="JavaScript" type="text/javascript">
FUNC_DATA={
};
CLASS_DATA={
};
CONST_DATA={
'VER': ['VER', '', [['core/v0.1/z','z.class.php',322],['core/v0.1/z','z.class.php',324],['core/v0.1/z','z.class.php',327],['core/v0.1/z','z.class.php',329]], 29]};
</script>
<div id="func-popup" class="funcpopup"><p id="func-title" class="popup-title">title</p><p id="func-desc" class="popup-desc">Description</p><p id="func-body" class="popup-body">Body</p></div>
<div id="class-popup" class="funcpopup"><p id="class-title" class="popup-title">title</p><p id="class-desc" class="popup-desc">Description</p><p id="class-body" class="popup-body">Body</p></div>
<div id="const-popup" class="funcpopup"><p id="const-title" class="popup-title">title</p><p id="const-desc" class="popup-desc">Description</p><p id="const-body" class="popup-body">Body</p></div>
<div id="req-popup" class="funcpopup"><p id="req-title" class="popup-title">title</p><p id="req-body" class="popup-body">Body</p></div>
<!-- A link to the phpxref site in your customized footer file is appreciated ;-) -->
<br><hr>
<table width="100%">
	<tr><td>Generated: Thu Sep 10 15:54:52 2020</td>
	<td align="right"><i>Cross-referenced by <a href="http://phpxref.sourceforge.net/">PHPXref 0.7.1</a></i></td>
	</tr>
</table>
</body></html>
